package com.jic.market.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.market.entity.PromotionPresellRule;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 预售限制规则表
 * @author : 
 * @email : 
 * @since : 2020-03-06 11:11:21
 * @version : v1.0.0
 */
@Mapper
public interface  PromotionPresellRuleMapper {

    long insert(PromotionPresellRule promotionPresellRule);

    long delete(Long id);

    long update(PromotionPresellRule promotionPresellRule);

    PromotionPresellRule queryByPrimaryKey(Long id);

    List<PromotionPresellRule> query(PromotionPresellRule promotionPresellRule);

    List<PromotionPresellRule> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("promotionPresellRule") PromotionPresellRule promotionPresellRule);

    long queryPageCount(PromotionPresellRule promotionPresellRule);
}